import { Component, Input } from '@angular/core';

@Component({
  selector: 'app-inventory-warning-table',
  templateUrl: './inventory-warning-table.component.html',
  styleUrls: ['./inventory-warning-table.component.scss']
})
export class InventoryWarningTableComponent {
  // 预警时间：父组件可传 Date 或可解析的字符串，未传则为 null
  @Input() warningDate: Date | string | null = null;

}
